#Dice

import random

class Die:
    def __init__(self, sides = 6):
        self.si = sides
    def roll_die(self, n):
        for i in range(n):
            print(random.randint(1, self.si))

sides = int(input())

d = Die(sides)

d.roll_die(10)